//
//  FBtConfig.h
//  JwPack
//
//  Created by 陈警卫 on 2025/7/21.
//

#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>

#define kFBtShowLog 1
/// 打印日志
#define kFBtLog(format, args...) \
if(kFBtShowLog) { \
NSLog(format, args); \
}

NS_ASSUME_NONNULL_BEGIN

@interface FBtConfig : NSObject

/// 蓝牙状态通知 默认YES
@property (nonatomic, assign) BOOL showPowerAlertKey;
/// 蓝牙重复扫描 默认NO
@property (nonatomic, assign) BOOL allowDuplicatesKey;

/// 外设被动断开重连 默认NO
@property (nonatomic, assign) BOOL disReconnect;

/// 主动扫描服务UUID数组
@property (nonatomic, strong) NSMutableSet<CBUUID *> *scanUUIDs;
/// 过滤广播服务UUID数组
@property (nonatomic, strong) NSMutableSet<CBUUID *> *advServiceFiltUUIDs;
/// 过滤广播外设名称数组
@property (nonatomic, strong) NSMutableSet<NSString *> *advFiltNames;
/// 过滤广播外设UUID数组
@property (nonatomic, strong) NSMutableSet<CBUUID *> *advPeriFiltUUIDs;


@end

NS_ASSUME_NONNULL_END
